﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VideoSystem;

namespace VideoSystem
{
    public class UserCtrl
    {
        IUserDb userDb = new UserDb();

        //This method calls a method from the UserDb class, that generates a list 
        // with all userIds registered in the database
        public List<User> getAllAppUsers()
        {
            return userDb.GetAllAppUsers();
        }
    }
}
